/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package quanlynhatre.Model;

import java.util.Date;

/**
 *
 * @author VOTHUY
 */
public class TreEm extends Nguoi{
    
    private String HoTenCha;
    private String NgheNgiepCha;
    private int NamSinhCha;
    private String DTCha;
    private String HoTenMe;
    private String NgheNgiepMe;
    private int NamSinhMe;
    private String DTMe;
    private TrangThaiHS TT;
    
    //private Arraylist<CL_Ngay> refngayan;
    //private Arraylist<CL_Thang> refthang;
    
// Khoi tao
public TreEm(){
    super();
    }
public TreEm(String hotencha, String nghenghiepcha, int namsinhcha, String dtcha, 
        String hotenme, String nghenghiepme, int namsinhme, String dtme, 
        TrangThaiHS trangthai,String id, String hoten, Date ngaysinh, String gioitinh, String dantoc, String tongiao) {
        super(id, hoten, ngaysinh, gioitinh, dantoc, tongiao);
        this.HoTenCha = hotencha;
        this.NgheNgiepCha = nghenghiepcha;
        this.NamSinhCha = namsinhcha;
        this.DTCha = dtcha;
        this.HoTenMe = hotenme;
        this.NgheNgiepMe = nghenghiepme;
        this.NamSinhMe = namsinhme;
        this.DTMe = dtme;
        this.TT = trangthai;
        //this.refngayan = refngayan;
        //this.refthang = refthang;
    }

// Ham get, set

    public String getHoTenCha() {
        return HoTenCha;
    }

    public void setHoTenCha(String hotencha) {
        this.HoTenCha= hotencha;
    }

    public String getNgheNghiepcha() {
        return NgheNgiepCha;
    }

    public void setNgheNghiepCha(String nghenghiepcha) {
        this.NgheNgiepCha = nghenghiepcha;
    }

    public int getNamSinhCha() {
        return NamSinhCha;
    }

    public void setNamsinhcha(int namsinhcha) {
        this.NamSinhCha = namsinhcha;
    }

    public String getDtcha() {
        return DTCha;
    }

    public void setDTCha(String dtcha) {
        this.DTCha = dtcha;
    }

    public String getHoTenMe() {
        return HoTenMe;
    }

    public void setHoTenMe(String hotenme) {
        this.HoTenMe = hotenme;
    }

    public String getNgheNghiepMe() {
        return NgheNgiepMe;
    }

    public void setNgheNghiepMe(String nghenghiepme) {
        this.NgheNgiepMe = nghenghiepme;
    }

    public int getNamSinhMe() {
        return NamSinhMe;
    }

    public void setNamSinhMe(int namsinhme) {
        this.NamSinhMe = namsinhme;
    }

    public String getDTMe() {
        return DTMe;
    }

    public void setDtMe(String dtme) {
        this.DTMe = dtme;
    }

    public TrangThaiHS getTT() {
        return TT;
    }

    public void setTT(TrangThaiHS trangthai) {
        this.TT = trangthai;
    }

}
